/*
import './index.css'
let btn = document.createElement('button');
btn.innerText = '按钮';
document.body.appendChild(btn);

btn.onclick = function () {
  let div = document.createElement('div');
  div.innerHTML = 'item';
  document.body.appendChild(div)
}

console.log('1214442')*/

import add from './add'
import number from './number'

add();
number();

if (module.hot) {
  module.hot.accept('./number', () => {
    document.body.removeChild(document.getElementById('number'));
    number()
  })
}